package com.byzk.p2p.admin.system.dao;

import java.util.List;

import com.byzk.p2p.admin.system.dto.GoodBuy;
import com.byzk.p2p.admin.system.vo.GoodBuyExportVo;
import com.byzk.p2p.admin.system.vo.GoodBuyVo;

public interface GoodBuyDao {
	
    public int delete(Integer id);

    public int insert(GoodBuy record);

    public GoodBuy selectById(Integer id);

    public int update(GoodBuy record);

    public List<GoodBuyVo> list(GoodBuyVo record);
    
    public int count(GoodBuyVo record);
    
    public List<GoodBuy> new5GoodBuyList();
    
    public List<GoodBuyVo> listByExportVo(GoodBuyExportVo vo);
}